#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Project: spd-sxmcc
"""
@author: lyndon
@time Created on 2018/11/19 23:35
@desc
"""

import re


s = '//tianxichengfl.fang.com/'

if re.match('\/\/\w+\.fang\.com/', s):
    print('http:' + s)

name = '望景花园小区网'

# p = re.compile(r'(?P<folder>(\w+/)*)(?P<filename>\w+\.png)')
#p = re.compile(r'(?P<folder>(.+/)*)(?P<小区网>$)')

name = name.replace('小区网', '小区')
print(name)